<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"
	import="myauctioneer.dto.User"
	import="java.util.ArrayList"
%>
<%@ include file="header.jsp"%>
<div id="content">
	<h1>Manage users</h1>
	<p>
	<table>
		<tr>
			<th scope="col">id</th>
			<th scope="col">name</th>
			<th scope="col">email</th>
			<th scope="col">&nbsp;</th>
		</tr>
		<% for (User u : (ArrayList<User>) request.getAttribute("uAL")) { %>
			<tr><td><%= u.getUserId() %></td>
			<td><%= u.getName() %></td>
			<td><%= u.getEmail() %></td>
			<td><a href="<%= App.getBaseUrl() %>/admin/removeUser?user_id=<%= u.getUserId() %>">
					remove</a></td></tr>
		<% } %>
	</table>
	</p>
</div>
<%@ include file="footer.jsp"%>
